<ion-content scroll="false" class="splash-bg">
  <form class="sign-up" (submit)="doLogin()">
    <ion-list>
      <ion-item>
        <ion-input type="email" [placeholder]=" 'USERNAME' | translate" [(ngModel)]="account.accountName"
                   name="accountName"></ion-input>
      </ion-item>
      <ion-item>
        <ion-input type="password" [placeholder]=" 'PASSWORD' | translate " [(ngModel)]="account.password"
                   name="password"></ion-input>
      </ion-item>
      <ion-item no-lines>
        <ion-label>{{'AGENCY' | translate}}</ion-label>
        <ion-checkbox color="danger" [(ngModel)]="account.type" name="type">
        </ion-checkbox>
      </ion-item>

      <div padding>
        <button ion-button color="primary" block>{{ 'LOGIN_BUTTON' | translate }}</button>
        <a ion-button color="secondary" block (click)="signup()">{{ 'SIGNUP_TITLE' | translate }}</a>
        <a ion-button color="primary" block (click)="loginFree()">{{ 'LOGIN_FREE' | translate }}</a>
        <a (click)="actionSheet()">忘记密码?(目前仅支持客户)</a>
      </div>
    </ion-list>
  </form>

</ion-content>
